package com.hebeiboruan.entity.system;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

import com.alibaba.excel.annotation.ExcelProperty;
@TableName("br_dictionaries")
public class Dictionaries implements Serializable{
private static final long serialVersionUID = 1L;

    @TableId(value="dictionaries_no",type = IdType.AUTO 
   )
    @ExcelProperty(value = "字典编号")
    private Integer dictionariesNo;

    public Integer getDictionariesNo(){
    return this.dictionariesNo;
    }

    public void setDictionariesNo(Integer dictionariesNo){
    this.dictionariesNo=dictionariesNo;
    }


    @TableField("parent")
    @ExcelProperty(value = "父级")
    private Integer parent;

    public Integer getParent(){
    return this.parent;
    }

    public void setParent(Integer parent){
    this.parent=parent;
    }


    @TableField("dictionaries_name")
    @ExcelProperty(value = "字典名")
    private String dictionariesName;

    public String getDictionariesName(){
    return this.dictionariesName;
    }

    public void setDictionariesName(String dictionariesName){
    this.dictionariesName=dictionariesName;
    }


    @TableField("dictionaries_key")
    @ExcelProperty(value = "字典索引")
    private String dictionariesKey;

    public String getDictionariesKey(){
    return this.dictionariesKey;
    }

    public void setDictionariesKey(String dictionariesKey){
    this.dictionariesKey=dictionariesKey;
    }

 @TableField(exist = false)
 private List<Dictionaries> subset;

 public List<Dictionaries> getSubset() {
  return subset;
 }

 public void setSubset(List<Dictionaries> subset) {
  this.subset = subset;
 }
}

